module.exports = {
  Test: {
    querystring:{
      required:['name','age'],
      properties:{
        name: {
          type:'string',
          minLength: 1,
          errorMessage: {
            type: '缺少name',
            min: 'name不可为空'
          }
        },
        age:{
          type: 'string',
          minLength: 1,
        }
      },
      errorMessage: {
        required: {
          name: '缺少name',
        }
      }
    }
  }
}